home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat7 / smfd.z / smfd
Encoding:
Text File  |  2002-10-03  |  5.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSMMMMFFFFDDDD((((7777MMMM))))                                                              SSSSMMMMFFFFDDDD((((7777MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      smfd, floppy, floptical - driver for SCSI floppy and floptical disk
  10.      drives
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      /dev/rdsk/fds*
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      This driver supports 5 1/4" floppy drives in 3 standard formats when used
  17.      with the freestanding SCSI floppy drive.  The standard single and double
  18.      density dual sided 3 1/2" drive and the 3 1/2" 20.1MB floptical drive is
  19.      also supported.
  20.  
  21.      The driver also supports a large range of special formats by use of the
  22.      SSSSMMMMFFFFDDDDSSSSEEEETTTTMMMMOOOODDDDEEEE ioctl (defined along with the associated structure in
  23.      /_u_s_r/_i_n_c_l_u_d_e/_s_y_s/_s_m_f_d._h).
  24.  
  25.      Most of the ioctls for the ddddkkkksssscccc also apply to this driver, with the
  26.      exception of the bad block handling.  The volume header ioctl DDDDIIIIOOOOCCCCGGGGEEEETTTTVVVVHHHH
  27.      is supported by creating the structure based on the current driver
  28.      parameters.  The DDDDIIIIOOOOCCCCGGGGEEEETTTTVVVVHHHH ioctl is not supported.  Individual tracks may
  29.      be formatted using the DDDDIIIIOOOOCCCCFFFFMMMMTTTTTTTTRRRRKKKK ioctl and the fmt_map_info structure
  30.      defined in /_u_s_r/_i_n_c_l_u_d_e/_s_y_s/_d_v_h._h. The SSSSMMMMFFFFDDDDMMMMEEEEDDDDIIIIAAAA ioctl is used to get the
  31.      status of the floppy and the SSSSMMMMFFFFDDDDEEEEJJJJEEEECCCCTTTT ioctl is used to eject the floppy
  32.      on a drive with the software eject mechanism.
  33.  
  34.      The standard devices (and suffixes) are the standard PC formats of 360KB
  35.      (.48), 720KB (.96), 1.2 MB (.96hi) on the regular 5 1/4" device, and the
  36.      standard 720 KB (.3.5), and 1.44MB (.3.5hi).  The .3.5.20m suffix is for
  37.      the 20.1MB 3 1/2" floptical drives and disks only.
  38.  
  39.      The special files are named according to the convention discussed in
  40.      _i_n_t_r_o(7M), with the exception of ....ttttyyyyppppeeee, instead of ssss####:
  41.  
  42.                   ////ddddeeeevvvv////{{{{rrrr}}}}ddddsssskkkk////ffffddddssss<<<<ccccoooonnnnttttrrrroooolllllllleeeerrrr----####>>>>dddd<<<<ddddrrrriiiivvvveeee----####>>>>{{{{....ttttyyyyppppeeee}}}}
  43.  
  44.  
  45.      These devices can be used as filesystems, as backup devices, and for data
  46.      interchange with other systems.
  47.  
  48.      Ordinarily, the devices may be opened by more than one process at a time,
  49.      as long as all are opened at the same density.  Attempts to open at a
  50.      different density than which it is already open will fail.
  51.  
  52.      To manually access a disk, use mmmmoooouuuunnnntttt((((1111mmmm)))).  mmmmeeeeddddiiiiaaaadddd((((1111mmmm)))) can also be
  53.      configured to automatically mount a disk.  New disks must be formatted;
  54.      see mmmmkkkkffffpppp((((1111mmmm)))).
  55.  
  56. FFFFIIIILLLLEEEESSSS
  57.      /dev/{r}dsk/fds?d?.48
  58.      /dev/{r}dsk/fds?d?.96
  59.      /dev/{r}dsk/fds?d?.96hi
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSMMMMFFFFDDDD((((7777MMMM))))                                                              SSSSMMMMFFFFDDDD((((7777MMMM))))
  71.  
  72.  
  73.  
  74.      /dev/{r}dsk/fds?d?.3.5
  75.      /dev/{r}dsk/fds?d?.3.5hi
  76.      /dev/{r}dsk/fds?d?.3.5.20m
  77.  
  78. EEEERRRRRRRROOOORRRR RRRREEEETTTTUUUURRRRNNNNSSSS
  79.      The following errors are returned by this driver; other errors can also
  80.      be returned by higher levels of the operating system.
  81.  
  82.      EAGAIN    The drive returned an error indicating it was not ready (media
  83.                ejected, and so on).
  84.  
  85.      EIO       Some physical I/O error has occurred.
  86.  
  87.      ENXIO     Device number doesn't correspond to a valid device.
  88.  
  89. NNNNOOOOTTTTEEEE
  90.      In previous releases, the flag OOOO____EEEEXXXXCCCCLLLL had special meaning to this driver
  91.      when used on open; it is now ignored.  For true exclusive use access, the
  92.      _d_s(7m) driver should be used, with the OOOO____EEEEXXXXCCCCLLLL flag passed on open, where
  93.      it will either complete the open with no other opens allowed, or will
  94.      fail if the device is already open by any driver.
  95.  
  96.      An open will now succeed if there is no media in the floppy drive.
  97.  
  98. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  99.      fx(1M), mkfp(1m), fpck(1m), mediad(1m), mount(1m), open(2), intro(7),
  100.      dksc(7M), ds(7m)
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.